package Mylinkedlist;

import LinkedList.Linkedlist;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: adol book
 * Date: 2022-05-02
 * Time: 12:41
 */
public class Exce {
    public static void main(String[] args) {
        TestDemo testDemo = new TestDemo();
        testDemo.addFirst(11);
        testDemo.addFirst(12);
        testDemo.addFirst(15);
        testDemo.addFirst(12);
        testDemo.addFirst(13);
        testDemo.display();
        testDemo.removeAllKey(12);
        System.out.println("=========");
        testDemo.display();
        testDemo.clear();
        System.out.println("========");
        testDemo.display();
    }
    public static void main1(String[] args) {
        Linkedlist linkedlist = new Linkedlist();
//        linkedlist.craeatived();
//        linkedlist.display();
//        boolean t = linkedlist.contains(12);
//        System.out.println(t);
//        int r = linkedlist.size();
//        System.out.println(r);
//        linkedlist.addFirst(123);
//        linkedlist.display();
//        linkedlist.addLast(234);
//        linkedlist.display();
//        linkedlist.addIndex(3,445);
//        linkedlist.display();
//        linkedlist.remove(445);

    }
}
